package logic.events;

import vis.KeyPanel;

public class Row extends CipherEvent {

	int row, c1, c2, phase;
	boolean reverse;
	
	public Row(int row, int c1, int c2, int phase, boolean reverse) {
		this.row = row;
		this.c1 = c1;
		this.c2 = c2;
		this.reverse = reverse;
		this.phase = phase;
	}

	@Override
	public void display(KeyPanel panel) {
		panel.setHHighlight(c1, row, c2, row, reverse);
		panel.setPhase(phase);
	}

}
